package com.icesoft.system.vo;

import com.icesoft.framework.core.binding.annotation.BindEntity;
import com.icesoft.system.entity.Org;
import com.icesoft.system.entity.SubOrg;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

@Getter
@Setter
@Accessors(chain = true)
public class SubOrgVO extends SubOrg {

	@BindEntity(entity = Org.class, condition = "this.org_id=sys_org.id")
	private Org org;

	@BindEntity(entity = Org.class, condition = "this.sub_org_id=sys_org.id")
	private Org subOrg;

}